package com.gopi.utilities.gui;

import java.awt.Component;

abstract public class AbstractController 
{
	abstract public void addActionCommand(String action,Component component);
	abstract public void removeActionCommand(String action);
	abstract public void setEnable(String action,boolean enable);
	abstract public void setVisible(String action,boolean enable);
	
	abstract public boolean getStatus(String action);
	
	public void enableCommand(String action)
	{
		setEnable(action, true);
	}
	
	public void disableCommand(String action)
	{
		setEnable(action, false);
	}	
}
